﻿<!--{include /service/service_head}-->
<!-- End #sidebar -->
	<div id="main-content">
		<!-- Main Content Section with everything -->

		<!-- Page Head -->
		<!-- End .clear -->
		<form action="/service/dataManage_statistic.php" id="indexform" method="get">
		<div class="search_box clearfix">
			<input type="text" name="search_date" value="${date("Y-m-d", $startTime)}" onfocus="WdatePicker({lang:'jp'})" class="Wdate">~
			<input type="text" name="" value="${date("Y-m-d", $endTime)}" onfocus="WdatePicker({lang:'jp'})" class="Wdate"/>
			<select name="time_type" class="small-input">
				<option value="0">選択してください</option>
				${Utility::Option($timeTypeList, $timeType)}
	        </select>
			<select id="resource_type" name="resource_type" class="small-input">
				<option value="0">選択してください</option>
				${Utility::Option($resourceTypeList, $resourceType)}
        	</select>
			<input type="submit" name="" value="検索" class="button"/>
		</div>
		</form>
		<div class="content-box">
			<!-- Start Content Box -->
			<div class="content-box-header">
				<h3>勤務時間帯登録（スタッフ別）</h3>
				<ul class="content-box-tabs" style="display:none;">
					<li><a href="#tab1" class="default-tab">详细</a></li>
					<!-- href must be unique and match the id of target div -->
					<li><a href="#tab2">编辑</a></li>

				</ul>
				<div class="clear"></div>
			</div>
			<!-- End .content-box-header -->
			<div class="content-box-content">
				<div class="tab-content default-tab" id="tab1">
					<!-- This is the target div. id must match the href of this div's tab -->
					<div class="table_box">
						<table>

						<thead class="title_head">
							<tr>
								<th class="title">{$ctitle}</th>
								<th class="title">店舗名</th>
								<th class="title">合計</th>
								<th class="title">数</th>
								<!--{loop $serviceIdList $index2 $one2}-->
						        <th class="title">{$one2['service_name']}(数)</th>
						        <th class="title">{$one2['service_name']}(合計)</th>
						        <!--{/loop}--> 
							</tr>
						</thead>
						<tbody>
							<!--{loop $statisticListView $index1 $one1}-->
						      <tr>
						        <td>{$one1['title_name']}{$one1['designation_stuff']}</td>
						        <td>{$one1['name']}</td>
						        <td>{$one1['total_money']}</td>
						        <td>{$one1['count']}</td>
						        <!--{loop $one1['services'] $index2 $one2}-->
						        <td>{$one2['count']}</td>
						        <td>{$one2['total_money']}</td>
						        <!--{/loop}--> 
						      </tr>
						      <!--{/loop}-->
						      
						      <tr>
						        <td></td>
						        <td>{$totalMoney['name']}</td>
						        <td>{$totalMoney['total_money']}</td>
						        <td>{$totalMoney['count']}</td>
						        <!--{loop $serviceIdList $index2 $one2}-->
						        <td>{$totalMoney[$index2.'_count']}</td>
						        <td>{$totalMoney[$index2]}</td>
						        <!--{/loop}--> 
						      </tr>
						</tbody>
					</table>
					<table>
				      <tr>
				        <td width="900" align="center"><a href="{$searchUrl}&response_type=excel"><font size="+2">Excel Export</font></a></td>
				      </tr>
				    </table>
					</div>
					<div>
					<table>
							<tr>
								<td colspan="7"><div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div>

									<!-- End .pagination -->
									<div class="clear"></div></td>
							</tr>
							</table>
					</div>
				</div>
			</div>
			<!-- End .content-box-content -->
		</div>

		<!-- End .content-box -->
		<!-- End .content-box -->
		<!-- End .content-box -->
		<div class="clear"></div>
		<!-- Start Notifications -->
		<!-- End Notifications -->
		<div id="footer"> <small>
			<!-- Remove this notice or replace it with whatever you want -->

			&#169; Copyright 2011 川崎エステ　エレガントリゾート　すべての女性を美しく幸せに | Powered by <a href="#">ZHONGHUA</a> | <a href="#">Top</a> </small> </div>
		<!-- End #footer -->
	</div>
	<!-- End #main-content -->
</div>

</body>
<!-- Download From www.exet.tk-->
</html>